<?php

if ( !defined( 'CMS_ROOT' ) )
	die;

class TempUser extends Record {
	const TABLE_NAME = 'reg_users_temp';

	public $name = '';
	public $email = '';
	public $username = '';
	public $language = '';
	public $created_on;
	public $updated_on;
	public $created_by_id;
	public $updated_by_id;
	public $rand_key;

	public function beforeInsert()
	{
		$this->created_on = date( 'Y-m-d H:i:s' );
		return true;
	}

	public function beforeUpdated()
	{
		$this->updated_on = date( 'Y-m-d H:i:s' );
		return true;
	}

}

?>
